#ifndef __LOS_ERR_H_INCLUDED__
#define __LOS_ERR_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

typedef int los_err_t;

#define LOSERR_NOT_READY				 1
#define LOSERR_NONE						 0
#define LOSERR_NOT_SUPPORT				-1
#define LOSERR_NOT_AVAILABLE			-3
#define LOSERR_NOT_ACCESSABLE			-4
#define LOSERR_NOT_ENOUGH_RESOURCES		-5
#define LOSERR_FAIL						-6
#define LOSERR_INVALID_PARAMETER		-7
#define LOSERR_INVALID_RANGE			-8
#define LOSERR_INVALID_PTR				-9
#define LOSERR_IO						-10
#define LOSERR_BUG						-11
#define LOSERR_UNKNOWN					-100

#define LOS_ASSERT(x)                   while((x))

#ifdef __cplusplus
}
#endif

#endif	// __LOS_ERR_H_INCLUDED__
